﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 零件批次管理
    /// </summary>
    [SugarTable("cks_batchofpart")]
    [Table(Name = "cks_batchofpart")]
    public class CksBatchofpart : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public long Id { get; set; }

        /// <summary>
        /// 零件批次号 
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 零件类型 
        /// 
        /// </summary>
        public int PartType { get; set; }

        /// <summary>
        /// 状态 1 使用中 10已完成 
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 开始时间 
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间 
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

       

    }
}